import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: () => import('@/views/homepage.vue'),
    meta: {
      title: '首页',
      name: 'index'
    }
  },
  {
    path:'/registerlogin',
    component:()=> import('@/views/registerlogin.vue'),
    
  }
]

const router = new VueRouter({
  routes
})

export default router
